package com.homedo.async.mysql.support.convertor.forfieldval;

import io.vertx.core.json.JsonObject;

/**
 * @author jgshun
 * @date 2020/1/20 11:51 AM
 */
public class JsonObjectResultFieldValConvertor implements ResultFieldValConvertorI {
    private static final JsonObjectResultFieldValConvertor INSTANCE = new JsonObjectResultFieldValConvertor();

    public static JsonObjectResultFieldValConvertor getInstance() {
        return INSTANCE;
    }

    @Override
    public JsonObject convertor(Object columnVal) {
        return (JsonObject) columnVal;
    }

}
